package com.sky.mapper;

import com.sky.entity.SetmealDish;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author 韩先楚
 */
@Mapper
public interface SetMealDishMapper {

    /**
     * 根据菜品id查询套餐id列表
     * @param setMealIds
     * @return
     */

    public List<Integer> getDishIdsBySetMealId(List<Integer> setMealIds);

    void deleteBySetmealIds(List<Integer> ids);

    void addSetmealDish(List<SetmealDish> dishes);
}
